Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMFrameDragReceive

Passes a drag-and-drop item to a frame.

OSStatus JMFrameDragReceive (
JMFrameRef frame,
DragReference theDragRef);
frame
The frame to receive the drag-and-drop information.
theDragRef
The drag reference of the drag.
function result
A result code; see "JManager Result Codes".
DISCUSSION
If the user releases a drag in a window corresponding to a frame, you should pass the drag information to the frame using JMFrameDragReceive. The frame can then take action on the drag, depending on the contents of the drag. Essentially your application calls this function as though the Drag Manager were calling a DragReceiveHandler callback.

Note that JDK versions 1.1.x and earlier do not support drag and drop.

SEE ALSO
"Drag-And-Drop Support".

Drag Manager Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997